package com.itheima.service.impl;

import com.itheima.controller.IManagerController;
import com.itheima.dao.IManagerDao;
import com.itheima.dao.impl.ManagerDaoImpl;
import com.itheima.domain.Manager;
import com.itheima.service.IManagerService;

import java.util.ArrayList;

public class ManagerServiceImpl implements IManagerService {
   private IManagerDao dao= new ManagerDaoImpl();
    @Override
    public ArrayList<Manager> findAll() {
        return dao.findAll();
    }
}
